package com.systemCapacity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.systemCapacity.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface UserService extends IService<User> {

    IPage<User> getUserPage(int page, int size);

    boolean userExist(long userId);

    boolean userNameExist(String userName);

    IPage<User> getUserPage(HttpServletRequest request);
}
